<?php

namespace app\common\validate;

use think\Validate;

/**
 * Class CompanyValidate
 * 企业信息验证类
 */
class OrgReplyValidate extends BaseValidate{
    /**
     * 验证规则
     */
    protected $rule = [
        'name|学校名称'                  => 'require|min:2|max:128',
        'real_name|提交人姓名'                  => 'require|min:2|max:128',
        'mobile|手机号码'  => 'require|isMobile'
    ];
    /**
     * 提示消息
     */
    protected $message = [

    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'reply' => ['name', 'real_name', 'mobile']
    ];


}
